package entity;

/**
 * OR映射
 * 实体类(国家) 对应数据库中的关系(表countries)
 */
public class Countries {
    private String countryId;
    private String countryName;
    private Integer region_id;

    public String getCountryId() {
        return countryId;
    }

    public void setCountryId(String countryId) {
        this.countryId = countryId;
    }

    public String getCountryName() {
        return countryName;
    }

    public void setCountryName(String countryName) {
        this.countryName = countryName;
    }

    public Integer getRegion_id() {
        return region_id;
    }

    public void setRegion_id(Integer region_id) {
        this.region_id = region_id;
    }

    @Override
    public String toString() {
        return "{" +
                "countryId='" + countryId + '\'' +
                ", countryName='" + countryName + '\'' +
                ", region_id=" + region_id +
                '}';
    }
}
